
    <%   
    String path = request.getContextPath();   
    String basePath = request.getScheme()+"://" +request.getServerName()+":" +request.getServerPort()+path+"/" ;
    
    %>   
     

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.wgn.reportquery.utils.*"%>
<%@ page import="com.wgn.reportquery.service.*"%>


<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">

<title>医联网</title>

<!-- Bootstrap core CSS -->
<link href="<%=basePath%>css/bootstrap.min.css" rel="stylesheet">
<link href="<%=basePath%>css/justified-nav.css"	rel="stylesheet">

<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="<%=basePath%>css/ie10-viewport-bug-workaround.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="<%=basePath%>css/signin.css" rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../js/ie8-responsive-file-warning.js"></script><![endif]-->
<script type="text/javascript" src="<%=basePath%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=basePath%>/js/jquery-ui.js"></script>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
 <script type="text/javascript">
    $(document).ready(function(){
    $(".public_btn").bind("click",function(){
    var url=$(this).attr('ohref');//encodeURI
    //alert(url);
    window.location.href="<%=basePath%>dosomequery?querytype=skreport&url="+url;
    
    });
    
    });
    
    
   
    </script>
</head>

<body>
	<div class="masthead">
     
        <nav>
          <ul class="nav nav-justified">
            <li class="active"><a href="<%=basePath%>SigninServlet">首页</a></li>
         <li><a href="<%=basePath%>jsp/signin.jsp">退出</a></li>
            <li><a href="<%=basePath%>jsp/regist.jsp">注册</a></li>
            <li><a href="http://www.shdc.org.cn/familyServices/index">上海市医院报告查询和门诊预约</a></li>
            <li><a href='<%=basePath%>jsp/downrj.jsp'>下载仁济app</a></li>            
          </ul>
        </nav>
      </div>
	<br />
	<div class="container">


	
		
		<div class="row">
			<div class="col-sm-8">

				<div class="panel panel-danger">
					<div class="panel-heading">
						<h3 class="panel-title">医院检验检查报告</h3>
					</div>
					<div class="panel-body">
						<div class="row">

							<div>
								<table class="table table-striped">
									<thead>
										<tr>											
											<th>报告单号</th>
											<th>医疗机构</th>
											<th>类型</th>
											<th>送检日期</th>
											<th>报告日期</th>
											<th>查看</th>
										</tr>
									</thead>
									<tbody>
										
											${skqueryTable}
										
									</tbody>
								</table>
								<!-- 
									<button  onclick="javascript:window.location.href='<%=basePath%>dosomequery?querytype=chart'"  class='btn btn-lg btn-success btn-block'>查看更多指标及变化曲线</button>
								 -->
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-8">

				<div class="panel panel-danger">
					<div class="panel-heading">
						<h3 class="panel-title">历史查询</h3>
					</div>
					<div class="panel-body">
						<div class="row">

							<div>

								<button class="btn btn-lg btn-success btn-block" onclick="javascript:window.location.href='<%=basePath%>dosomequery?querytype=chart'">查询</button>

							</div>
						</div>
					</div>
				</div>
			</div>
		</div>	
	
		


	<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
	<script src="js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>
